package com.bootdo.put.dao;

import com.bootdo.common.domain.DictDO;
import com.bootdo.goods.domain.TGoodsAllocationDO;
import com.bootdo.put.domain.PutStorageDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 入库单
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-24 11:50:15
 */
@Mapper
public interface PutStorageDao {

	PutStorageDO get(Long putId);

	/**
	 * 根据入库详情id查询入库单
	 * @param putDeailId
	 * @return
	 */
	PutStorageDO getPutByDetail(Long putDeailId);
	
	List<PutStorageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PutStorageDO putStorage);
	
	int update(PutStorageDO putStorage);
	
	List<PutStorageDO> listStatus();
//	
//	int remove(Long put_id);
//	
//	int batchRemove(Long[] putIds);
}
